/* #region左侧内容区start */
section {
    margin-top: 70px !important;
}

.ltcms-main {
    display: flex;
    height: 100%;
}

.right-content {
    height: calc(100% - 20px);
    position: relative;
}

.ltcms-main-left {
    width: 885px;
    margin-right: 15px;
}

.ltcms-slider {
    content: "";
    clear: both;
    display: block;
}

.slider-wrap {
    float: left;
    margin-bottom: 20px;
}

.slider-wrap .swiper-container {
    width: 646px;
    height: 320px;
    border-radius: 5px;
    overflow: hidden;
    background: rgba(255, 255, 255, .15);
}

.swiper-slide img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: all .4s;
}

.swiper-slide img:hover {
    transform: scale(1.1);
}

.next1 {
    right: 10px !important;
}

.prev1 {
    left: 10px !important;
}

.slider-right {
    float: left;
    width: 226px;
    padding: 0;
    margin-left: 10px;
    list-style: none;
}

.slider-right .slider-right-item {
    height: 155px;
    margin-bottom: 12px;
    overflow: hidden;
    border-radius: 5px;
    position: relative;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.slider-right .slider-right-item a img {
    height: 155px;
    width: 100%;
    transition: all .4s;
}

.slider-right .slider-right-item a img:hover {
    transform: scale(1.1);
}

.slider-right .slider-item-text {
    width: 100%;
    position: absolute;
    bottom: 0;
    display: block;
    color: #fff;
    font-size: 14px;
    background: linear-gradient(180deg,transparent,rgba(0,0,0,.7));
    text-overflow: ellipsis;
    white-space: nowrap;
    word-wrap: normal;
    padding: 10px 15px;
}

.ltcms-article {
    clear: both;
}

.article-list {
    margin-bottom: 20px;
    background-color: #fff;
    padding-bottom: 20px;
}

.list-header {
    padding: 20px 20px;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #f1f1f1;
}

.list-title {
    position: relative;
}

.list-title span {
    padding-bottom: 0;
    padding-left: 0;
    font-size: 18px;
    color: #262626;
}

.list-title small {
    display: inline-block;
    font-size: 14px;
    margin-left: 10px;
    color: #5a5a5a;
    font-weight: 400;
    line-height: 25px;
    vertical-align: top;
}

.list-body {
    padding: 15px;
}

.article {
    display: flex;
    border-bottom: 1px solid rgba(239,239,239,.8);
    overflow: hidden;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.article-img {
    position: relative;
    width: 30%;
    overflow: hidden;
    border-radius: 5px;
    flex-shrink: 0;
    flex-grow: 0;
}

.article-img img {
    object-fit: cover;
    transition: .4s;
    width: 100%;
    height: 150px;
}

.article-img img:hover {
    transform: scale(1.1);
}

.article-category {
    position: absolute;
    top: 10px;
    left: 10px;
    color: #fff;
    background: rgba(0, 0, 0, .6);
    border-radius: 5px;
    text-decoration: none;
    padding: 4px 8px;
    font-size: 12px;
}

.article-category:hover {
    color: #007aff;
}

.article-content {
    position: relative;
    width: 100%;
    padding-left: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.article-title {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.5;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.article-title a {
    transition: all .4s;
}

.article-title a:hover {
    color: #007aff !important;
}

.article-intro {
    height: 52px;
    margin-bottom: 34px;
    line-height: 1.625;
    color: #5a5a5a;
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 2;
}

.article-meta {
    width: 95%;
    position: absolute;
    bottom: 0;
    padding-right: 20px;
    color: #828282;
    font-size: 12px;
    line-height: 24px;
}

.article-author {
    margin-right: 10px;
    height: 24px;
    line-height: 24px;
    display: inline-block;
    vertical-align: top;
}

.article-author a {
    color: #828282;
    text-decoration: none;
}

.article-author img {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 3px;
    border-radius: 50%;
    background: #f5f5f5;
    vertical-align: top;
}

.article-right {
    float: right;
    display: flex;
}

.article-right span {
    display: block;
    margin-right: 3px;
    display: flex;
    align-items: center;
}

.article-right span img {
    width: 15px;
}

/* #endregion左侧内容区end */

/* #region右侧内容区start */
.ltcms-main-right {
    width: 300px;
}

.ltcms-lately {
    margin-bottom: 20px;
    background-color: #fff;
}

.lately-head {
    padding: 20px;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #f1f1f1;
}

.lately-title {
    position: relative;
    box-sizing: border-box;
    padding-left: 10px;
    height: 22px;
    border-left: 4px solid #2486ff;
}

.lately-title span {
    color: #262626;
    font-size: 18px;
}

.lately-body {
    padding: 15px;
}

.hot-item {
    display: flex;
    padding-bottom: 10px;
    margin-top: 10px;
    border-bottom: 1px solid rgba(239,239,239,.8);
}

.item-img {
    flex-shrink: 0;
}

.item-img a {
    display: flex;
    width: 100px;
    overflow: hidden;
    border-radius: 5px;
}

.item-img a img {
    width: 100%;
    height: 60px;
    border-radius: 5px;
    transition: .4s;
}

.item-img a img:hover {
    transform: scale(1.1);
}

.item-content {
    position: relative;
    margin-left: 10px;
    width: calc(100% - 110px);
    -ms-flex-negative: 1;
    flex-shrink: 1;
}

.item-content a {
    height: 38px;
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    display: block;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-height: 1.4;
    transition: all .4s;
}

.item-content a:hover {
    color: #007aff !important;
}

.item-content span {
    position: absolute;
    bottom: 0;
    margin: 0;
    font-size: 12px;
    color: #828282;
    line-height: 14px;
}

.ltcms-search {
    margin-bottom: 20px;
    background-color: #fff;
}

.search-body {
    padding: 15px;
}

.search-body form {
    margin: 0;
    padding: 0;
    display: flex;
}

.input {
    width: 78%;
    padding: 8px;
    color: inherit;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.input:focus {
    width: 78%;
    padding: 8px;
    color: inherit;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.btn {
    width: 20%;
    color: #fff;
    cursor: pointer;
    background-color: #2486ff;
    padding: 5px 12px;
    border-radius: 5px;
    display: inline-block;
    border: 1px solid transparent;
}

.sticky {
    position: sticky !important;
    top: 70px;
}

/* #endregion右侧内容区end */

/* #region友链区域start */
.ltcms-link {
    margin: 0 auto;
    margin-bottom: 20px;
    max-width: 1200px;
    padding: 0 10px;
    box-sizing: content-box;
}

.link-head {
    padding: 20px;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #f1f1f1;
    background-color: #fff;
}

.link-title {
    position: relative;
}

.link-title span {
    padding-bottom: 0;
    padding-left: 0;
    font-size: 18px;
    color: #262626;
}

.link-title a {
    float: right;
    font-size: 14px;
    font-weight: 400;
    color: #828282;
}

.link-body {
    padding: 15px;
    background-color: #fff;
}

.links {
    margin: 5px;
}

.link-item {
    margin: 0 6px;
}

.link-item a {
    text-decoration: none;
    color: #333 !important;
    transition: all .4s;
}

.link-item a:hover {
    color: #007aff !important;
}
/* #endregion友链区域end */

/* #region自适应start */
@media screen and (max-width: 1216px) {
    .slider-right {
        width: 213px;
    }
}

@media screen and (max-width: 1200px) {
    section {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 !important;
    }

    .slider-wrap, .swiper-container {
        width: 100%;
        height: auto;
    }

    .slider-wrap .swiper-container {
        width: 100%;
        height: auto;
    }

    .slider-right {
        display: none;
    }

    .ltcms-main-right {
        display: none;
    }

    .ltcms-main-left {
        width: 95%;
        margin-right: 0;
    }

    .ltcms-link {
        width: 95%;
    }
}

@media screen and (max-width: 680px) {
    .article-intro {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .article-img img {
        height: 120px;
    }
}

@media screen and (max-width: 540px) {
    .article-meta {
        width: 90%;
    }

    .article-title {
        font-size: 18px;
        margin: 0 0 5px;
    }

    .article-intro {
        font-size: 14px;
        margin-bottom: 10px;
        height: auto;
        line-height: 1.5;
    }

    .article-img img {
        height: 100px;
    }
}

@media screen and (max-width: 420px) {
    .article-title {
        font-size: 16px;
        margin: 0 0 5px;
    }

    .article-intro {
        font-size: 14px;
        margin-bottom: 10px;
        height: auto;
        line-height: 1.5;
    }

    .article-img img {
        height: 100px;
    }

    .article-time {
        display: none;
    }

    .ltcms-pages ul li:nth-child(4), .ltcms-pages ul li:nth-child(5) {
        display: none !important;
    }

    .prev {
        margin-left: 5px;
        margin-right: 1px;
    }
    
    .next {
        margin-left: 1px;
        margin-right: 5px;
    }

    .ltcms-pages ul li {
        margin: 0 2.5px;
    }
}
/* #endregion自适应end */
